﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BOHVote.BLL;

namespace BOH.DataManagement
{
    public partial class TestTypeAdd : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void butSave_Click(object sender, EventArgs e)
        {
            string TestTpyeName = txtTestTypeName.Text;
            string status = drpStatus.SelectedValue;
            string ApplyPeriod = "2009";
            ApplyTestClass.InsertTestType(TestTpyeName, status, ApplyPeriod);

            Response.Redirect("TestTypeList.aspx");

        }
    }
}
